package com.allo2o.common.mapper;

import org.apache.ibatis.annotations.Param;

import com.allo2o.common.domain.SequenceDO;
import org.springframework.stereotype.Repository;

@Repository
public interface SequenceDOMapper {

    int deleteByPrimaryKey(Long sequenceId);

    int insert(SequenceDO record);

    int insertSelective(SequenceDO record);

    SequenceDO selectByPrimaryKey(Long sequenceId);

    int updateByPrimaryKeySelective(SequenceDO record);

    int updateByPrimaryKey(SequenceDO record);

    SequenceDO selectBySequenceName(@Param("sequenceName") String sequenceName);

    int updateByOldValue(@Param("sequenceDO") SequenceDO sequenceDO, @Param("oldValue") Long oldValue);
}